# # import requests
# # page = requests.get("https://syw.ctgu.edu.cn/xxyw.htm")
# # page.encoding = "utf-8"
# # print(page.headers)
# # print(page.status_code)
#
# import datetime
#
# # 获取今天的日期
# today = datetime.date.today()
# date_str = "2023-12-11"
# date_obj = datetime.datetime.strptime(date_str, "%Y-%m-%d")
# today = date_obj;
# # 计算本周的起始日期（星期一）
# start_of_week = today - datetime.timedelta(days=today.weekday())
#
# # 输出本周的第几天
# print("本周的第{}天".format((today - start_of_week).days + 1))
#
#
import pandas as pd
#
# users = [
#     {"username": "zhangsan", "age": 18},
#     {"username": "lisi", "age": 20},
#     {"username": "wanger", "age": 23},
#     {"username": "mazi", "age": 19},
#     {"username": "zhaowu", "age": 18},
#     {"username": "maliu", "age": 22},
#     {"username": "guiqi", "age": 18}
# ]
#
# df = pd.DataFrame(users)
# # 按“年龄”列分组，并将每组转换为词典
# temp1 = df.groupby('age').apply(lambda x: x.to_dict('records')).to_dict()
# temp2 = df.groupby('age')['username'].apply(list).to_dict()
# print(temp1)
# print(temp2)

# d = pd.read_csv("E:\教学资源\实践周\河北水利电力学院\毕设\源码\大数据法律服务智能推荐\实验1法律服务数据的存储\data\law_visit_log_all.csv",encoding="gb2312")
# print(d.head(5))



# import requests
#
# import urllib3
# urllib3.disable_warnings()
# url = "https://trade.500.com/jczq/?playid=272&g=2"
# headers = {
#     "user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/129.0.0.0 Safari/537.36"
# }
# res = requests.get(url, verify=False, headers=headers)
# res.encoding = "utf-8"
# print(res.text)


ls = [0]
print(ls[-1])